package cn.bookcycle.panda.pay.constant;

/**
 * 命名常量数据
 *
 * @author liufenglin
 * @date 2018年3月13日
 */
public class NameData {
	
	public static final String KEY = "key";
	
	public static final String ACCOUNT = "account";
	
	/**状态英文名*/
	public static final String STATUS = "status";
	
	/**微信返回业务结果英文名*/
	public static final String RESULT_CODE = "result_code";
	
	/**微信返回状态码英文名*/
	public static final String RETURN_CODE = "return_code";
	
	/** 给微信返回的消息 */
	public static final String RETURN_MSG = "return_msg";
	
	/**微信返回错误码英文名*/
	public static final String ERR_CODE = "err_code";
	
	/**微信返回支付二维码的英文名*/
	public static final String CODE_URL = "code_url";
	
	/** 最终支付的时间 */
	public static final String TIME_END = "time_end";
	
	/**微信接口返回码：成功*/
	public static final String SUCCESS = "SUCCESS";
	
	public static final String OK = "OK";
	
	public static final String DATA = "data";
	
	public static final String RECORD = "record";
	
	/**微信请求返回错误码：订单已经支付*/
	public static final String ORDERPAID = "ORDERPAID";
	
	public static final String NOTIFY_URL = "notifyUrl";
	
	public static final String TRADE_TYPE = "tradeType";
	
	public static final String SIGN = "sign";
	
	public static final String NONCE_STR = "nonceStr";
	
	public static final String MCH_ID = "mchId";
	
	public static final String APP_ID = "appId";
	
	public static final String BODY = "body";
	
	public static final String TRADE_NO = "tradeNo";
	
	public static final String SPBILL_CREATE_IP = "spbillCreateIp";
	
	public static final String TOTAL_FEE = "totalFee";
	
	public static final String UTF8 = "UTF-8";
	
	/**post请求方式*/
	public static final String POST = "POST";
	
	/**get请求方式*/
	public static final String GET = "GET";
	
	public static final String XML = "xml";
	
	/**必须请求参数组成的Map的名字*/
	public static final String NECESSARY_PARAMETERS = "necessaryParameters";
	
	/**可选请求参数组成的Map的名字*/
	public static final String ALTERNATIVE_PARAMETERS = "alternativeParameters";
	
	public static final String DB_NAME = "dbName";
	
	public static final String TAB_NAME = "tabName";
	
	public static final String METHOD = "method";
	
	public static final String INSERT = "insert";
	
	public static final String FIND = "find";
	
	/** 支付微服务用到的数据库的名字 */
	public static final String PAY_SERVICE_DB = "pay_micro_service";
	
	/** 记录支付微服务接收到的请求参数的表名 */
	public static final String LOG_PARAMETERS_TAB = "parameter_record";
	
}
